set t_Co=256
set nu
set expandtab
set tabstop=4
set shiftwidth=4
set hlsearch
set incsearch
set showcmd
set ruler
set cursorline
set cursorcolumn
set ic
set smartindent
set laststatus=2
set iskeyword=@,48-57,_,192-255
set completeopt-=preview   "disable scratch preview window

filetype on
filetype plugin on
filetype indent on 

syntax on
colorscheme molokai

"autocmd BufRead,BufNewFile *.ftl set filetype=html
autocmd BufRead,BufNewFile *.ftl set filetype=ftl
autocmd BufRead,BufNewFile *.scala set filetype=scala


"""""""""""""""""""""""""""""""""""""" airline
let g:airline_powerline_fonts = 1


"""""""""""""""""""""""""""""""""""""" vim-plug
call plug#begin('~/.config/nvim/plugged')

" Lean & mean status/tabline for vim that's light as air.
Plug 'bling/vim-airline'

" 自动补全
Plug 'Valloric/YouCompleteMe'

" 处理成对符号
Plug 'tpope/vim-surround'

" 处理注释
Plug 'scrooloose/nerdcommenter'

" a class outline viewera class outline viewer
Plug 'majutsushi/tagbar'

call plug#end()
